using System;
using System.Threading;
namespace sand_game
{
#if WINDOWS || XBOX
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
    [MTAThread]
        static void Main(string[] args)
        {
            using (pc_game game = new pc_game())
            {
                Thread worldThread = new Thread(new ThreadStart(sand_game_core.world.update));
                worldThread.Start();
                game.IsFixedTimeStep = true;
                game.TargetElapsedTime = new TimeSpan(0,0,0,0,1);
                game.InactiveSleepTime = new TimeSpan(0, 0, 0, 0, 1);
                game.Run();
            }
        }
    }
#endif
}

